def bubble_sort(lst):
    n = len(lst)
    for i in range(n):
        for j in range(n-i-1):
            if lst[j] > lst[j+1]:
                lst[j],lst[j+1] = lst[j+1],lst[j]#元组解包
    return lst

num_list = [105,22,64,55,1,4,22]
print(num_list)
print(bubble_sort(num_list))












